<div nz-row>
  <div nz-col [nzOrder]="formOrder" [nzXXl]="12" [nzXl]="12" [nzLg]="24" [nzMd]="24" [nzSm]="24" [nzXs]="24">
    <form [nzLayout]="'horizontal'" nz-form [formGroup]="validateForm" (ngSubmit)="submitForm()">
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="peopleHandle">作业人员防护措施、防护装备和应急处置程序
        </nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="人员防护">
          <nz-textarea-count [nzMaxCharacterCount]="255">
            <textarea nz-input formControlName="peopleHandle" placeholder="人员防护"
                      [nzAutosize]="{ minRows: 2, maxRows: 6 }"></textarea>
          </nz-textarea-count>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="environmentHandle">环境保护措施</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="环境保护">
          <nz-textarea-count [nzMaxCharacterCount]="255">
            <textarea nz-input formControlName="environmentHandle" placeholder="环境保护"
                      [nzAutosize]="{ minRows: 2, maxRows: 6 }"></textarea>
          </nz-textarea-count>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item>
        <nz-form-label nzSpan="12" nzFor="chemistryHandle">泄漏化学品的收容、清除方法及所使用的处置材料</nz-form-label>
        <nz-form-control nzSpan="12" nzErrorTip="化学品处理">
          <nz-textarea-count [nzMaxCharacterCount]="255">
            <textarea nz-input formControlName="chemistryHandle" placeholder="化学品处理"
                      [nzAutosize]="{ minRows: 2, maxRows: 6 }"></textarea>
          </nz-textarea-count>
        </nz-form-control>
      </nz-form-item>
      <nz-form-item *ngIf="AdminService.isAdmin" nz-row class="register-area">
        <nz-form-control [nzSpan]="12" [nzOffset]="12">
          <button nz-button nzType="primary">确定</button>
        </nz-form-control>
      </nz-form-item>
    </form>
  </div>
</div>
<ng-template #combineTpl let-control>
  <ng-container *ngIf="control.hasError('message')">{{control.errors['message']}}</ng-container>
  <ng-container *ngIf="control.hasError('required')">必填项</ng-container>
</ng-template>


